from flask import Flask, request
from flask_restful import Api
from app.api import blue_api
from flask_cors import CORS

app = Flask(__name__)
CORS(app, support_credentials=True)


def create_app():
    app.register_blueprint(blue_api, url_prefix='/api/v1')

    return app


@app.route("/favicon.ico")
def aa():
    return "{a:'aaa'}"
